package com.py.credit.dao;

import com.py.credit.common.Page;
import com.py.credit.entity.DataCompare;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataCompareDao {

    List<DataCompare> selectForFrList(@Param(value = "jclb") String jclb,
                                      @Param(value = "name") String name,
                                      @Param(value = "tyshxydm") String tyshxydm,
                                      @Param(value = "zzjgdm") String zzjgdm,
                                      @Param(value = "gsdjm") String gsdjm);

    List<DataCompare> selectForZrrList(@Param(value = "jclb") String jclb,
                                       @Param(value = "name") String name,
                                       @Param(value = "idcard") String idcard);

    List<DataCompare> getCrossListForPage(@Param(value = "page") Page page,
                                          @Param(value = "jclb") String jclb,
                                          @Param(value = "contrary") String contrary);

    List<DataCompare> selectCrossDetailForPage(@Param(value = "page") Page page,
                                               @Param(value = "type") String type,
                                               @Param(value = "ztmc") String ztmc,
                                               @Param(value = "bm") String bm);
}
